package com.yw.common.core.db.test;

import java.util.HashSet;
import java.util.Set;

import com.yw.common.core.db.test.entity.PoStudent;
import com.yw.common.core.db.test.jdbctemplate.IDao;
import com.yw.common.core.db.test.jdbctemplate.StudentDao;

public class DaoTest5 {
	
	public static void main(String[] args) {
		IDao dao = new StudentDao();
		
		PoStudent po = new PoStudent();
		po.setId("480B0F6F-B426-4A89-B929-EB95CA5B7A14");
		po.setName("杨文");
		
		Set<String> set = new HashSet<String>();
		set.add("name");
		
		System.out.println(dao.update(po,set));
	}
}
